<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>列偏移</title>
    <link rel="stylesheet" href="../layui/css/layui.css">
</head>
<body>
    <script src="../layui/layui.js"></script>

    <div class="layui-row">
        <!-- 依然是12个 列占用4个 offset了4个 则呈现在正中央 -->
        <div class="layui-col-lg4 layui-col-lg-offset4" style="height: 400px; background-color: pink"></div>
    </div>
</body>
</html>